/*
 * Copyright(c) 2018 优居科技 All rights reserved.
 * distributed with this file and available online at
 * http://www.yjyz.com/
 */
package com.zb.api.business.mapper;
import com.zb.api.business.dto.PosPlanCommentDto;
import com.zb.api.business.entity.PosPlanCommentEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;


/**
* 方案评论表
 *
 * @author cwp
 * @version v1.0
 * @CreationTime: - 2022-02-08 14:19:31
 * @Description:
 */
@Mapper
public interface PosPlanCommentMapper  {

	/**
	 * 获取方案评论表数据
	 * @param posPlanComment
	 * @return
	 */
	List<PosPlanCommentDto> getList(PosPlanCommentDto posPlanComment);

	/**
	 * 获取方案评论表详情
	 * @param id
	 * @return
	 */
	PosPlanCommentEntity get(String id);


	/**
	 * 方案评论表修改
	 * @param posPlanComment
	 * @return 记录影响行数
	 */
	int update(PosPlanCommentEntity posPlanComment);

	/**
	 * 方案评论表添加
	 * @param posPlanComment
	 * @return 记录影响行数
	 */
	int insert(PosPlanCommentEntity posPlanComment);

	/**
	 * 方案评论表删除
	 * @param posPlanComment
	 * @return 记录影响行数
	 */
	int delete(PosPlanCommentDto posPlanComment);


	int deleteByTarget(PosPlanCommentDto delComment);
}